package com.adams.dcxt.dao;

import java.util.HashMap;
import java.util.List;

import org.springframework.stereotype.Repository;

import com.adams.dcxt.bean.DishesType;
import com.adams.dcxt.core.HibernateDao;
import com.adams.dcxt.core.Page;

@Repository("dishesTypeDao")
public class DishesTypeDaoImpl  extends  HibernateDao<DishesType,Long>  implements DishesTypeDao  {

    @Override
    public Page<DishesType> queryTypeAll(Page<DishesType> page) {
        return null;
    }

    @Override
    public List<DishesType> queryTypeAll() {
        String hql = "from DishesType";
        return this.query(hql, new HashMap());
    }

  


}
